home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8778 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.8 KB

  1. Path: news.delphi.com!usenet
  2. From: tmoran@bix.com
  3. Newsgroups: comp.lang.ada,comp.lang.basic.misc,comp.lang.c,comp.lang.c++,comp.lang.clipper,comp.lang.pascal.delphi.misc
  4. Subject: Re: IRR formula - Please help me
  5. Date: 26 Feb 1996 17:13:26 GMT
  6. Organization: Delphi Internet Services Corporation
  7. Message-ID: <4gspnm$4nh@news2.delphi.com>
  8. NNTP-Posting-Host: bix.com
  9.  
  10. In <312EAB76.5463@pixie.co.za> Maurizio Incani asked:
  11. >I don't have a clue on what is (or looks like) the IRR.
  12.   From the Capital Budgeting chapter of a Managerial Finance book:
  13. "The internal rate of return (IRR) is defined as the interest rate
  14. that equates the present value of the expected future cash flows,
  15. or receipts, to the inital cost outlay."  Or to be more general,
  16. if c(i) for i in 0 .. N is the net revenue from a proposed
  17. project at the end of year i, and the (Net Present Value)
  18. polynomial NPV = sum(c(i)*x**i) = 0 has solution X, then the
  19. IRR is 1/X-1. Thus a project where you invest $1 today and $1 a
  20. year from today, but get back $2 after two years and another $2
  21. after three years, gives the equation 2*x***3 + 2*x**2 -1*x -1 = 0
  22. which has a solution X=0.707 or IRR=0.42, a rather good payback.
  23. People often want IRRs to compare projects and see which has better
  24. payback.  NPV is a better method for ranking projects (for instance
  25. suppose an alternative project would cost $1,000 today but give
  26. back $1,100 dollars a year from now.  Its IRR of 0.10 is much less
  27. than 0.42, but it's better to invest in something that makes $100
  28. than something that gives a profit of $2.  Also two projects with
  29. different time streams of revenue can rank inconsistenly between
  30. IRR and NPV.)
  31.   As just a programming problem, IRR consists of finding a root of
  32. a polynomial, and probably it's a single root in the range 0.0 .. 0.5
  33.